package com.h820;

import java.text.DecimalFormat;

public class Time {
    public static void main(String[] args) {
        long begin = System.currentTimeMillis();
        int[] nums = new int[8];
        for (int i = 0; i < nums.length; i++) {
            int n = (int)(Math.random()+55);
            nums[i] = n;
        }
        long end = System.currentTimeMillis();
        System.out.println(end-begin);


        double x = 921.128212112;
        DecimalFormat df = new DecimalFormat("0.00");
        String s = df.format(x);
        System.out.println(s);
    }

}
